home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15392 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: mudskipper.cac.psu.edu!user
  2. From: fcusack@tdx.org (frank.)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Dangling pointer?
  5. Date: Thu, 18 Apr 1996 16:54:31 -0400
  6. Organization: Soylent Green is People!!
  7. Message-ID: <fcusack-1804961654310001@mudskipper.cac.psu.edu>
  8. References: <4l0r4b$jte@dewey.csun.edu> <fcusack-1604962132440001@mudskipper.cac.psu.edu> <4l33dcINN8ms@keats.ugrad.cs.ubc.ca> <829849901snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: mudskipper.cac.psu.edu
  10.  
  11. In article <829849901snz@genesis.demon.co.uk>, fred@genesis.demon.co.uk wrote:
  12.  
  13. > In article <4l33dcINN8ms@keats.ugrad.cs.ubc.ca>
  14. >            c2a192@ugrad.cs.ubc.ca "Kazimir Kylheku" writes:
  15. > >In article <fcusack-1604962132440001@mudskipper.cac.psu.edu>,
  16. > >frank. <fcusack@tdx.org> wrote:
  17. > >>In article <4l0r4b$jte@dewey.csun.edu>, kc44097@csun.edu (chen) wrote:
  18. > >>
  19. > >>>     What is "dangling pointer",can someone give me a defination and
  20. example?
  21. > >>> Please e-mail me kc44097@huey.csun.edu
  22. > >>> 
  23. > >>
  24. > >>It's the complement of a split infinitive. :)
  25. > >
  26. > >Actually it isn't. A there is nothing wrong with putting words between
  27. the "to"
  28. > >and the verb.
  29.  
  30. Yes there is. It's grammatically incorrect. Boy I wish I had gotten these
  31. followups earlier. What monster have I started here?
  32.  
  33. > It depends.
  34. > >In fact, it's the only place an adjective can go:
  35. > ???
  36. > >        "I want to quickly get this message out"
  37.  
  38. And so did he show his marvelous command of grammar.
  39.  
  40. > Quick is an adjective, quickly is an adverb.
  41. [...]
  42. > It depends on what you're writing. Usenet tends to be more interactive,
  43. > almost like a spoken language so I'd agree with you in that context.
  44. > >A somewhat better analogy to a dangling C pointer is the use of a reference
  45. > >that is unresolved. For example, the use of a word like "he" or "it"
  46. without an
  47. > >antecedent. That's not a syntactic error, of course---but neither is a
  48. dangling
  49. > >pointer in C, and that's why any grammar error (legitimate or not) is a bad
  50. > >analogy for it.
  51.  
  52. I didn't mean to provide an analogy, I was just being (very slightly it
  53. seems) facetious.
  54.  
  55. Let's end this thread here! Please!
  56.  
  57. ~Frank
  58.  - Through the modem, past the router, over the firewall.. nothing but Net -
  59.  -  PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/  -
  60.